package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Lesson;

import java.util.Map;

public interface LessonService {
    Map selectLessonByPage(Integer page, Integer limit, String name);

    void insertLesson(Lesson lesson);

    void deleteLesson(Integer id);

    Map selectCounterByPage(Integer page, Integer limit, Integer lessonId);
}
